package com.shixi.shixitraining.shixitraining.ui.tabhome.fragment;

import android.os.Bundle;
import android.widget.TextView;

import com.shixi.shixitraining.shixitraining.R;
import com.shixi.shixitraining.shixitraining.base.BaseFragment;
import com.shixi.shixitraining.shixitraining.ui.tabhome.entity.AuthenBean;

/**
 * Created by shenyan on 2018/10/10.
 */
public class CourseParamsFragment  extends BaseFragment {
    @Override
    protected int getlayoutId() {
        return R.layout.fragment_course_params;
    }

    @Override
    protected void initPager() {
        TextView mCourseTv = (TextView) mContentView.findViewById(R.id.tv_cousrse_content);
        Bundle arguments = getArguments();
        if (arguments!=null){
            AuthenBean mData = (AuthenBean) arguments.getSerializable("bean");
            AuthenBean.DataBean data = mData.getData();
            String target = data.getTarget();
            mCourseTv.setText(target);
        }

    }

}
